//
// Created by hgx on 2021/12/24.
//

#ifndef UNTITLED_MATERIAL_H
#define UNTITLED_MATERIAL_H
#include <glm/glm.hpp>
namespace Component
{
    struct Material
    {
        struct SampleResult
        {
            float3 dir;
            float pdf;
            float brdf;
        };
        SampleResult Sampling(const float3& wi);

        float Eval(const float3& wi,const float3& wo)const;
        float Pdf(const float3& wi,const float3 & wo)const;


    };
}
#include "Material.h.inl"
#endif //UNTITLED_MATERIAL_H
